Skip to content

Comments

Upgrade Deps#66

Open
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01
Open

Upgrade Deps#66
HappyPaul55 wants to merge 2 commits intomainfrom
upgrade-deps-2026-07-01

Conversation

@HappyPaul55
Copy link
Contributor

@HappyPaul55 HappyPaul55 commented Jan 7, 2026

This pull request updates several dependencies in the package.json file to their latest minor or patch versions. These updates include both production and development dependencies, focusing on improving compatibility, security, and access to new features.

Dependency updates:

Production dependencies:

  • Upgraded @deskpro/deskpro-ui from ^8.3.1 to ^8.4.0 for the latest UI improvements and bug fixes.
  • Updated @sentry/react to ^9.47.1 and @sentry/vite-plugin to ^3.6.1 for enhanced error tracking and build integration.
  • Bumped @tanstack/react-query from ^4.40.1 to ^4.42.0 for better data fetching and caching capabilities.
  • Upgraded react-hook-form to ^7.70.0 and react-router-dom to ^6.30.2 for improved form handling and routing.

Development dependencies:

  • Updated @swc/core to ^1.15.8, @types/react to ^18.3.27, and @types/styled-components to ^5.1.36 for better build performance and type safety.
  • Upgraded jest-environment-jsdom to ^30.2.0 and react-is to ^19.2.3 for improved testing reliability.
  • Bumped vite from ^6.3.6 to ^6.4.1 for faster and more stable builds.

Summary by Sourcery

Upgrade frontend runtime and development dependencies to newer minor and patch versions for UI, routing, data fetching, error tracking, build, and testing tooling.

New Features:

  • Adopt the latest minor versions of core UI, routing, forms, and data-fetching libraries to take advantage of recent improvements.

Enhancements:

  • Refresh Sentry integration, build toolchain, TypeScript typings, and React/testing utilities to improve stability, compatibility, and developer experience.

Build:

  • Update Vite, SWC, and related tooling versions to improve build performance and reliability.

Tests:

  • Bump Jest jsdom environment and React testing utilities to align tests with newer runtime and React versions.

@HappyPaul55 HappyPaul55 requested a review from Copilot January 7, 2026 14:19
@sourcery-ai
Copy link

sourcery-ai bot commented Jan 7, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates application and build tooling dependencies in package.json to newer minor/patch versions, with corresponding lockfile changes, to pick up bug fixes, security patches, and compatibility improvements across UI, routing, forms, error tracking, data fetching, build, and testing libraries.

File-Level Changes

Change Details Files
Upgrade key runtime UI, routing, form, error tracking, and data-fetching libraries to newer minor/patch versions.
  • Bump @deskpro/deskpro-ui to ^8.4.0 for UI component updates and fixes.
  • Update @sentry/react and @sentry/vite-plugin to newer 9.x/3.x releases for improved error reporting and build integration.
  • Upgrade @tanstack/react-query to ^4.42.0 for updated query/mutation behavior and bug fixes.
  • Raise react-hook-form to ^7.70.0 for updated form APIs and validation behavior.
  • Increment react-router-dom to ^6.30.2 for routing bug fixes and minor improvements.
package.json
pnpm-lock.yaml
Refresh development and tooling dependencies for builds, typing, and tests.
  • Upgrade @swc/core to ^1.15.8 for improved transpilation performance and compatibility.
  • Update React-related type packages including @types/react and @types/styled-components for better TypeScript support.
  • Bump jest-environment-jsdom and react-is to newer versions to keep the test environment aligned with React.
  • Upgrade vite to ^6.4.1 for build performance, stability, and plugin compatibility improvements.
package.json
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 1 issue, and left some high level feedback:

  • The jest-environment-jsdom version has been bumped to ^30.2.0 while jest remains at ^28.1.3; consider aligning these major versions (e.g., using a Jest 30 stack or downgrading jsdom env) to avoid subtle test runner incompatibilities.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `jest-environment-jsdom` version has been bumped to `^30.2.0` while `jest` remains at `^28.1.3`; consider aligning these major versions (e.g., using a Jest 30 stack or downgrading jsdom env) to avoid subtle test runner incompatibilities.

## Individual Comments

### Comment 1
<location> `package.json:68` </location>
<code_context>
     "eslint-plugin-react-hooks": "4.3.0",
     "jest": "^28.1.3",
-    "jest-environment-jsdom": "^30.0.5",
+    "jest-environment-jsdom": "^30.2.0",
     "jest-styled-components": "^7.2.0",
     "minimist": "1.2.6",
</code_context>

<issue_to_address>
**issue (bug_risk):** Potential version mismatch between Jest 28 and jest-environment-jsdom 30.

jest-environment-jsdom 30 is intended for Jest 30, but this project uses Jest 28.1.3. That mismatch can cause subtle breakages in test behavior and configuration. Consider either using a 28.x-compatible jsdom environment or upgrading Jest and its ecosystem to 30.x together so versions stay aligned.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates multiple dependencies to their latest minor and patch versions, improving security, compatibility, and access to new features. The updates include 11 production dependencies and 8 development dependencies.

Key changes:

  • Production dependencies updated include Sentry packages for better error tracking, UI components, and form handling libraries
  • Development dependencies updated include SWC compiler, type definitions, and testing environment packages
  • All version updates follow semantic versioning with no major breaking changes

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Updates 19 dependency version specifications across production and development dependencies
pnpm-lock.yaml Reflects all resolved dependency versions and their transitive dependencies after the updates

The dependency updates are consistent between package.json and pnpm-lock.yaml, and all updated versions appear to be valid and available. No breaking changes or security concerns were identified in this review.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant